{% block content %}
    {% load static %}
</head>

<style>
.table{
    margin-top:150px;
}
.project-font{
    margin-top: 20px;
}

</style>
<h1 class="project-font">实例详细信息</h1>
  {% csrf_token %}
<div class="table">
<table  border="1" cellspacing="0"bordercolor="#d8d9d9" >
    <tr>
        <th>名称</th>
        <th>标识</th>
        <th>状态</th>
        <th>已创建&nbsp;&nbsp;</th>
        <th>主机 &nbsp;&nbsp;</th>
        <th>flavor名称 &nbsp;&nbsp;</th>
        <th>flavor标识 &nbsp;&nbsp;</th>
        <th>内存 &nbsp;&nbsp;</th>
         <th>VCPU数量 &nbsp;&nbsp;</th>
         <th>磁盘 &nbsp;&nbsp;</th>
    </tr>
         <tr>
         <td style="color: #e95420">{{request.session.servers_detail.server.name }}</td>
        <td style="color: black">{{request.session.servers_detail.server.id }}</td>
        <td style="color: black">{{request.session.servers_detail.server.status }}</td>
        <td style="color: black">{{request.session.servers_detail.server.created }}</td>
        <td style="color: black">{{request.session.servers_detail.server.hypervisor_hostname}}</td>
        <td style="color: black">{{request.session.servers_detail.server.flavor.name }}</td>
        <td style="color: black">{{request.session.servers_detail.server.flavor.id}}</td>
        <td style="color: black">{{request.session.servers_detail.server.flavor.ram}}MB</td>
        <td style="color: black">{{request.session.servers_detail.server.flavor.vcpus }}</td>
        <td style="color: black">{{request.session.servers_detail.server.flavor.disk}}GB</td>
    </tr>
</table>
</div>
{% endblock %}

